package com.tanhua.dubbo.api;

import com.tanhua.model.enums.CommentType;
import com.tanhua.model.mongo.Comment;
import com.tanhua.model.mongo.CommentLike;

import java.util.List;

public interface CommentLikeApi {
    //判断是否已经点赞
    boolean haslike(String commentId, Long userId);
    //保存点赞数据
    void save(CommentLike commentLike);
    //删除点赞数据
    void delete(String commentId, Long userId);

}
